package com.akk.module.avs.mapper;

import com.akk.module.avs.entity.AvsApplyCard;
import com.akk.module.avs.entity.AvsApplyCardExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AvsApplyCardMapper {
    int countByExample(AvsApplyCardExample example);

    int deleteByExample(AvsApplyCardExample example);

    int deleteByPrimaryKey(Long cardId);

    int insert(AvsApplyCard record);

    int insertSelective(AvsApplyCard record);

    List<AvsApplyCard> selectByExample(AvsApplyCardExample example);

    AvsApplyCard selectByPrimaryKey(Long cardId);

    int updateByExampleSelective(@Param("record") AvsApplyCard record, @Param("example") AvsApplyCardExample example);

    int updateByExample(@Param("record") AvsApplyCard record, @Param("example") AvsApplyCardExample example);

    int updateByPrimaryKeySelective(AvsApplyCard record);

    int updateByPrimaryKey(AvsApplyCard record);
}